//
//  XZHMovieDetailPhotoCollectionViewCell.m
//  Piece
//
//  Created by dllo on 16/6/13.
//  Copyright © 2016年 Northeast Dianli University. All rights reserved.
//

#import "XZHMovieDetailPhotoCollectionViewCell.h"
#import "UIImageView+WebCache.h"

@implementation XZHMovieDetailPhotoCollectionViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.photoImageView.contentMode = UIViewContentModeScaleAspectFill;
    // Initialization code
}

- (void)setPhotoUrl:(NSString *)photoUrl
{
    if (_photoUrl != photoUrl) {
        _photoUrl = photoUrl;
        
        [self.photoImageView sd_setImageWithURL:[NSURL URLWithString:photoUrl]];
        NSLog(@"%@",photoUrl);
    }
}
@end
